package cn.wolfcode.crm.domain;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.ArrayList;
import java.util.List;

@Getter
@Setter
@ToString
public class Employee extends BaseDomain{

    private String name;

    private String email;

    private Integer age;

    private String password;

    private boolean admin;

    private Long deptId;

    private  Department dept;
    private List<Role> roles=new ArrayList<>();



}